package com.industrial.app.mapper;

import com.industrial.app.domain.BizSocialElectricityConsumption;
import com.industrial.app.domain.formal.BizSocialElectricityConsumptionFormal;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 全社会用电量Mapper接口
 * 
 * @author Zhou_S
 * @date 2024-01-03
 */
public interface BizSocialElectricityConsumptionFormalMapper 
{
    /**
     * 查询全社会用电量
     * 
     * @param baseId 全社会用电量主键
     * @return 全社会用电量
     */
    public BizSocialElectricityConsumptionFormal selectBizSocialElectricityConsumptionFormalByBaseId(String baseId);

    /**
     * 查询全社会用电量列表
     * 
     * @param bizSocialElectricityConsumptionFormal 全社会用电量
     * @return 全社会用电量集合
     */
    public List<BizSocialElectricityConsumptionFormal> selectBizSocialElectricityConsumptionFormalList(BizSocialElectricityConsumptionFormal bizSocialElectricityConsumptionFormal);

    /**
     * 新增全社会用电量
     * 
     * @param bizSocialElectricityConsumptionFormal 全社会用电量
     * @return 结果
     */
    public int insertBizSocialElectricityConsumptionFormal(BizSocialElectricityConsumptionFormal bizSocialElectricityConsumptionFormal);

    /**
     * 修改全社会用电量
     * 
     * @param bizSocialElectricityConsumptionFormal 全社会用电量
     * @return 结果
     */
    public int updateBizSocialElectricityConsumptionFormal(BizSocialElectricityConsumptionFormal bizSocialElectricityConsumptionFormal);

    /**
     * 删除全社会用电量
     * 
     * @param baseId 全社会用电量主键
     * @return 结果
     */
    public int deleteBizSocialElectricityConsumptionFormalByBaseId(String baseId);

    /**
     * 批量删除全社会用电量
     * 
     * @param baseIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBizSocialElectricityConsumptionFormalByBaseIds(String[] baseIds);

    void batchInsertBizSocialElectricityConsumptionFormal(@Param("list") List<BizSocialElectricityConsumption> list);

    List<String> getUniqueDatesFromDatabase();
}
